#!/usr/bin/python
import web
import sys
WORK_PATH = sys.path[0]
APP_PATH = WORK_PATH[:-3]
sys.path.append(APP_PATH)
sys.path.append('%slib' % (APP_PATH))
from msg import *
urls =(
        '/msg/send','send',
        '/msg/get','fetch'
        )
app = web.application(urls, globals())
if __name__ == "__main__":app.run()
